home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / sysadm / deleteUserAccount.z / deleteUserAccount
Encoding:
Text File  |  2002-10-03  |  5.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDEEEELLLLEEEETTTTEEEEUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))                                    DDDDEEEELLLLEEEETTTTEEEEUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      deleteUserAccount - delete a user account from the system
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ////uuuussssrrrr////ssssyyyyssssaaaaddddmmmm////pppprrrriiiivvvvbbbbiiiinnnn////ddddeeeelllleeeetttteeeeUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt ----llll _l_o_g_i_n-_n_a_m_e [<----AAAA | ----DDDD> | <<----HHHH |
  13.      ----EEEE> <----UUUU _n_e_w-_u_s_e_r-_I_D ----GGGG _n_e_w-_g_r_o_u_p-_I_D>>] [----RRRR | ----NNNN _a_l_t_e_r_n_a_t_e-_c_o_n_f_i_g-_f_i_l_e]
  14.  
  15. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.      ddddeeeelllleeeetttteeeeUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt deletes a user account from the system and handles the
  17.      deleted account's files.
  18.  
  19.      The ddddeeeelllleeeetttteeeeUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt command has the following required parameter:
  20.  
  21.      ----llll _l_o_g_i_n-_n_a_m_e
  22.           The login name of the user account to delete
  23.  
  24.      The ddddeeeelllleeeetttteeeeUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt command has the following optional parameters:
  25.  
  26.      ----AAAA   Indicates that all of the user's files local to the system should be
  27.           deleted. None of ----DDDD, ----HHHH, or ----EEEE may be specified with the ----AAAA option.
  28.  
  29.      ----DDDD   Indicates that the user's home directory should be deleted.  None of
  30.           ----AAAA, ----HHHH, or ----EEEE may be specified with the ----DDDD option.
  31.  
  32.      ----HHHH ----UUUU _n_e_w-_u_s_e_r-_I_D ----GGGG _n_e_w-_g_r_o_u_p-_I_D
  33.           Indicates that the user's home directory and its contents should be
  34.           reassigned to the _n_e_w-_u_s_e_r-_I_D and _n_e_w-_g_r_o_u_p-_I_D specified.  Any file
  35.           contained in the home directory tree which is owned by the user
  36.           being deleted will be reassigned to the _n_e_w-_u_s_e_r-_I_D.  If the file is
  37.           also owned by the user's primary group, its group ownership will be
  38.           reassigned to _n_e_w-_g_r_o_u_p-_I_D.  Files not owned by the user being
  39.           deleted will not be affected.  Files owned by root may not be
  40.           reassigned to another user.
  41.  
  42.      ----EEEE ----UUUU _n_e_w-_u_s_e_r-_I_D ----GGGG _n_e_w-_g_r_o_u_p-_I_D
  43.           Indicates that _a_l_l of the user's files local to the system should be
  44.           reassigned to the _n_e_w-_u_s_e_r-_I_D and _n_e_w-_g_r_o_u_p-_I_D specified.  Any file
  45.           on the local filesystems which is owned by the user being deleted
  46.           will be reassigned to the _n_e_w-_u_s_e_r-_I_D.  If the file is also owned by
  47.           the user's primary group, its group ownership will be reassigned to
  48.           _n_e_w-_g_r_o_u_p-_I_D.  Files not owned by the user being deleted will not be
  49.           affected.  Files owned by root may not be reassigned to another
  50.           user.
  51.  
  52.      ----RRRR   Run the default delete user configuration process as defined in
  53.           /_v_a_r/_s_y_s_a_d_m/_c_o_n_f_i_g/_d_e_l_e_t_e_a_c_c_o_u_n_t._c_o_n_f_i_g
  54.  
  55.      ----NNNN _a_l_t_e_r_n_a_t_e-_c_o_n_f_i_g-_f_i_l_e
  56.           Run an alternate delete account configuration process as defined in
  57.           _a_l_t_e_r_n_a_t_e-_c_o_n_f_i_g-_f_i_l_e
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDEEEELLLLEEEETTTTEEEEUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))                                    DDDDEEEELLLLEEEETTTTEEEEUUUUSSSSEEEERRRRAAAACCCCCCCCOOOOUUUUNNNNTTTT((((1111MMMM))))
  71.  
  72.  
  73.  
  74. FFFFIIIILLLLEEEESSSS
  75.      /etc/passwd
  76.           File which contains list of user accounts
  77.      /var/sysadm/config/deleteaccount.config
  78.           Delete user account config file
  79.      /var/sysadm/config/deleteaccount.script
  80.           Delete user account script
  81.  
  82. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  83.      ssssyyyyssssmmmmggggrrrr((((1111MMMM)))), rrrruuuunnnnpppprrrriiiivvvv((((1111MMMM)))), UUUUsssseeeerrrrMMMMaaaannnnaaaaggggeeeerrrr((((1111MMMM)))), aaaaddddddddUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt((((1111MMMM)))),
  84.      mmmmooooddddiiiiffffyyyyUUUUsssseeeerrrrAAAAccccccccoooouuuunnnntttt((((1111MMMM)))), ddddeeeelllleeeetttteeeeaaaaccccccccoooouuuunnnntttt((((4444)))), ppppaaaasssssssswwwwdddd((((4444))))
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.